package com.zhaowb.springcloud.gate.rpc;

import com.zhaowb.springcloud.api.vo.log.LogInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author zhaowb
 */
@Repository
@FeignClient("cloud-admin")
public interface ILogService {
    /**
     * 保存日志
     *
     * @param logInfo
     */
    @RequestMapping(value = "/api/log/save", method = RequestMethod.POST)
    void saveLog(LogInfo logInfo);
}
